using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using DAL.Models.Mapping;

namespace DAL.Models
{
    public partial class hardware_platformContext : DbContext
    {
        static hardware_platformContext()
        {
            Database.SetInitializer<hardware_platformContext>(null);
        }

        public hardware_platformContext()
            : base("Name=hardware_platformContext")
        {
        }
        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!下面是生成的代码!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

        public DbSet<${TableName}> ${TableName} { get; set; }

       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!上面是生成的代码!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
          $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$下面是生成的代码$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
            modelBuilder.Configurations.Add(new ${TableName}Map());
           $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$上面是生成的代码$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
        }
    }
}
